/**
 * 缓存的操作
 */
export default {
	getStorage(key){
	   return uni.getStorageSync(key)
	},
	setStorage(key,data){
	   return uni.setStorageSync(key,data)       
	},
	removeStorage(key){
	   return uni.removeStorageSync(key)
	},
	getUser(){
		let userstr = uni.getStorageInfoSync('user')
		if(userstr){
			return JSON.parse(userstr)
		}
	}
}